import React from 'react'
import {useNavigate} from 'react-router-dom'
import { NavBar } from 'antd-mobile'
const Index:React.FC = () => {
  const navigate = useNavigate()
  return (
    <div style={{width: '100%', height: '100vh', background:'#efefef'}}>
 <NavBar onBack={()=>navigate(-1)} style={{background:'#fff'}}>好大夫在线</NavBar>
      <img style={{width: '100%'}} src="../../src/img/jyzx.png" alt="" onClick={()=>navigate('/jyrw')}/>
    </div>
  )
}

export default Index
